
#if !defined(AFX_CLINKCOMBOBOX_H_INCLUDED_20120619)
#define AFX_CLINKCOMBOBOX_H_INCLUDED_20120619

#include "LinkCtrl.h"
#include "CommonDef.h"

class CLinkComboBox : public CComboBox, public CLinkCtrl
{
public:
	CLinkComboBox(INPUT_FIELD_INFO* pFieldInfo);
	virtual ~CLinkComboBox();

	enum				{CtrlType = IBT_ComboBox};
	virtual DWORD		GetControlType(){return CtrlType;}
	virtual CString		GetControlData(BOOL bTrimBlank = TRUE, BOOL bReplaceSingleQuotation = TRUE);
	virtual void		ScrollToVisible();

	BOOL				CopyFrom(CLinkComboBox* pFrom);
	
protected:
	virtual BOOL		PreTranslateMessage(MSG* pMsg);
	virtual void		PreSubclassWindow();
};


#endif//AFX_CLINKCOMBOBOX_H_INCLUDED_20120619